package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 regions
 * 
 * @author ruoyi
 * @date 2021-02-23
 */
public class Regions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** key值 */
    @Excel(name = "key值")
    private String indexCode;

    /** 上级 */
    @Excel(name = "上级")
    private String parentIndexCode;
    /** 直属 */
    @Excel(name = "直属")
    private String State;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexcode(String indexCode) {
        this.indexCode = indexCode;
    }

    public String getParentIndexCode() {
        return parentIndexCode;
    }

    public void setParentindexcode(String parentIndexCode) {
        this.parentIndexCode = parentIndexCode;
    }

    public String getState() {
        return State;
    }

    public void setState(String state) {
        State = state;
    }

    @Override
    public String toString() {
        return "Regions{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", indexcode='" + indexCode + '\'' +
                ", parentindexcode='" + parentIndexCode + '\'' +
                ", State='" + State + '\'' +
                '}';
    }
}
